
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.CureTaskCourse;
import cn.edu.scau.cmi.hombio.domain.Customer;
import cn.edu.scau.cmi.hombio.domain.Employee;
import cn.edu.scau.cmi.hombio.domain.Except;
import cn.edu.scau.cmi.hombio.domain.Feed;
import cn.edu.scau.cmi.hombio.domain.FodderTake;
import cn.edu.scau.cmi.hombio.domain.Inspection;
import cn.edu.scau.cmi.hombio.domain.MedicineTake;
import cn.edu.scau.cmi.hombio.domain.Prevention;
import cn.edu.scau.cmi.hombio.domain.Sale;
import cn.edu.scau.cmi.hombio.domain.SaleTaskQuality;
import cn.edu.scau.cmi.hombio.domain.Task;
import cn.edu.scau.cmi.hombio.domain.TaskEmployee;
import cn.edu.scau.cmi.hombio.domain.TaskIntervalCycle;
import cn.edu.scau.cmi.hombio.domain.TaskManage;
import cn.edu.scau.cmi.hombio.domain.TaskPig;
import cn.edu.scau.cmi.hombio.domain.TaskPighouse;
import cn.edu.scau.cmi.hombio.domain.TaskPigsty;
import cn.edu.scau.cmi.hombio.domain.TaskPrevention;
import cn.edu.scau.cmi.hombio.domain.TaskStatusType;
import cn.edu.scau.cmi.hombio.domain.TaskType;
import cn.edu.scau.cmi.hombio.domain.Transfer;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for Task entities
 * 
 */
public interface TaskService {

	/**
	 */
	public Task findTaskByPrimaryKey(Integer id);

	/**
	* Return all Task entity
	* 
	 */
	public List<Task> findAllTasks(Integer startResult, Integer maxRows);

	/**
	* Save an existing TaskEmployee entity
	* 
	 */
	public Task saveTaskTaskEmployees(Integer id_1, TaskEmployee related_taskemployees);

	/**
	* Load an existing Task entity
	* 
	 */
	public Set<Task> loadTasks();

	/**
	* Delete an existing TaskEmployee entity
	* 
	 */
	public Task deleteTaskTaskEmployees(Integer task_id, Integer related_taskemployees_id);

	/**
	* Save an existing Sale entity
	* 
	 */
	public Task saveTaskSales(Integer id_2, Sale related_sales);

	/**
	* Save an existing Except entity
	* 
	 */
	public Task saveTaskExcepts(Integer id_3, Except related_excepts);

	/**
	* Save an existing Prevention entity
	* 
	 */
	public Task saveTaskPreventions(Integer id_4, Prevention related_preventions);

	/**
	* Delete an existing Feed entity
	* 
	 */
	public Task deleteTaskFeeds(Integer task_id_1, Integer related_feeds_id);

	/**
	* Save an existing TaskPrevention entity
	* 
	 */
	public Task saveTaskTaskPreventions(Integer id_5, TaskPrevention related_taskpreventions);

	/**
	* Save an existing CureTaskCourse entity
	* 
	 */
	public Task saveTaskCureTaskCourses(Integer id_6, CureTaskCourse related_curetaskcourses);

	/**
	* Delete an existing TaskPrevention entity
	* 
	 */
	public Task deleteTaskTaskPreventions(Integer task_id_2, Integer related_taskpreventions_id);

	/**
	* Delete an existing Inspection entity
	* 
	 */
	public Task deleteTaskInspections(Integer task_id_3, Integer related_inspections_id);

	/**
	* Delete an existing Employee entity
	* 
	 */
	public Task deleteTaskEmployee(Integer task_id_4, Integer related_employee_id);

	/**
	* Delete an existing Sale entity
	* 
	 */
	public Task deleteTaskSales(Integer task_id_5, Integer related_sales_id);

	/**
	* Delete an existing MedicineTake entity
	* 
	 */
	public Task deleteTaskMedicineTakes(Integer task_id_6, Integer related_medicinetakes_id);

	/**
	* Save an existing FodderTake entity
	* 
	 */
	public Task saveTaskFodderTakes(Integer id_7, FodderTake related_foddertakes);

	/**
	* Save an existing TaskStatusType entity
	* 
	 */
	public Task saveTaskTaskStatusType(Integer id_8, TaskStatusType related_taskstatustype);

	/**
	* Save an existing TaskType entity
	* 
	 */
	public Task saveTaskTaskType(Integer id_9, TaskType related_tasktype);

	/**
	* Delete an existing TaskPighouse entity
	* 
	 */
	public Task deleteTaskTaskPighouses(Integer task_id_7, Integer related_taskpighouses_id);

	/**
	* Delete an existing Customer entity
	* 
	 */
	public Task deleteTaskCustomer(Integer task_id_8, Integer related_customer_id);

	/**
	* Delete an existing Transfer entity
	* 
	 */
	public Task deleteTaskTransfers(Integer task_id_9, Integer related_transfers_id);

	/**
	* Delete an existing SaleTaskQuality entity
	* 
	 */
	public Task deleteTaskSaleTaskQualities(Integer task_id_10, Integer related_saletaskqualities_id);

	/**
	* Delete an existing TaskPig entity
	* 
	 */
	public Task deleteTaskTaskPigs(Integer task_id_11, Integer related_taskpigs_id);

	/**
	* Save an existing Inspection entity
	* 
	 */
	public Task saveTaskInspections(Integer id_10, Inspection related_inspections);

	/**
	* Delete an existing TaskPigsty entity
	* 
	 */
	public Task deleteTaskTaskPigsties(Integer task_id_12, Integer related_taskpigsties_id);

	/**
	* Save an existing TaskPigsty entity
	* 
	 */
	public Task saveTaskTaskPigsties(Integer id_11, TaskPigsty related_taskpigsties);

	/**
	* Return a count of all Task entity
	* 
	 */
	public Integer countTasks();

	/**
	* Save an existing TaskManage entity
	* 
	 */
	public Task saveTaskTaskManages(Integer id_12, TaskManage related_taskmanages);

	/**
	* Delete an existing Task entity
	* 
	 */
	public void deleteTask(Task task);

	/**
	* Delete an existing TaskIntervalCycle entity
	* 
	 */
	public Task deleteTaskTaskIntervalCycles(Integer task_id_13, Integer related_taskintervalcycles_id);

	/**
	* Save an existing Customer entity
	* 
	 */
	public Task saveTaskCustomer(Integer id_13, Customer related_customer);

	/**
	* Delete an existing CureTaskCourse entity
	* 
	 */
	public Task deleteTaskCureTaskCourses(Integer task_id_14, Integer related_curetaskcourses_id);

	/**
	* Save an existing TaskPighouse entity
	* 
	 */
	public Task saveTaskTaskPighouses(Integer id_14, TaskPighouse related_taskpighouses);

	/**
	* Save an existing Feed entity
	* 
	 */
	public Task saveTaskFeeds(Integer id_15, Feed related_feeds);

	/**
	* Delete an existing TaskType entity
	* 
	 */
	public Task deleteTaskTaskType(Integer task_id_15, Integer related_tasktype_id);

	/**
	* Delete an existing FodderTake entity
	* 
	 */
	public Task deleteTaskFodderTakes(Integer task_id_16, Integer related_foddertakes_id);

	/**
	* Save an existing TaskPig entity
	* 
	 */
	public Task saveTaskTaskPigs(Integer id_16, TaskPig related_taskpigs);

	/**
	* Delete an existing TaskStatusType entity
	* 
	 */
	public Task deleteTaskTaskStatusType(Integer task_id_17, Integer related_taskstatustype_id);

	/**
	* Save an existing Transfer entity
	* 
	 */
	public Task saveTaskTransfers(Integer id_17, Transfer related_transfers);

	/**
	* Save an existing SaleTaskQuality entity
	* 
	 */
	public Task saveTaskSaleTaskQualities(Integer id_18, SaleTaskQuality related_saletaskqualities);

	/**
	* Delete an existing Except entity
	* 
	 */
	public Task deleteTaskExcepts(Integer task_id_18, Integer related_excepts_id);

	/**
	* Save an existing Task entity
	* 
	 */
	public void saveTask(Task task_1);

	/**
	* Delete an existing TaskManage entity
	* 
	 */
	public Task deleteTaskTaskManages(Integer task_id_19, Integer related_taskmanages_id);

	/**
	* Save an existing Employee entity
	* 
	 */
	public Task saveTaskEmployee(Integer id_19, Employee related_employee);

	/**
	* Save an existing MedicineTake entity
	* 
	 */
	public Task saveTaskMedicineTakes(Integer id_20, MedicineTake related_medicinetakes);

	/**
	* Save an existing TaskIntervalCycle entity
	* 
	 */
	public Task saveTaskTaskIntervalCycles(Integer id_21, TaskIntervalCycle related_taskintervalcycles);

	/**
	* Delete an existing Prevention entity
	* 
	 */
	public Task deleteTaskPreventions(Integer task_id_20, Integer related_preventions_id);
}